package org.jeecg.modules.complain.service;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.complain.entity.Repair;
import org.jeecg.modules.complain.entity.RepairStatus;

import java.util.List;

/**
 * @Description: 报修状态
 * @Author: jeecg-boot
 * @Date:   2019-08-05
 * @Version: V1.0
 */

public interface IRepairStatusService extends IService<RepairStatus> {

    RepairStatus selectByRepairId(String depairId, Integer status);

    List<Repair> selectByUserId(String userId, Integer status, String officeId, List<String> reciveIdList, List<String> positionIdList);

    Integer delete(String repairId, Integer status);

    List<RepairStatus> selectRepairStatus(String repairId);

    Integer returnRepair(RepairStatus repairStatus);

    Integer statisticsRepair(String userId, Integer status);

}
